<template>
  <div>
    <el-row class="tac">
      <el-col :span="24">
        <el-menu
            default-active="2"
            class="el-menu-vertical-demo"
            @open="handleOpen"
            @close="handleClose"
            active-text-color="#c99e77"
            router
        >
          <el-menu-item index="/person/profile">
            <i class="el-icon-user"></i>
            <span slot="title">个人资料</span>
          </el-menu-item>
          <el-menu-item index="/person/setting">
            <i class="el-icon-setting"></i>
            <span slot="title">账号设置</span>
          </el-menu-item>
          <el-menu-item index="/person/history">
            <i class="el-icon-pie-chart"></i>
            <span slot="title">浏览历史</span>
          </el-menu-item>
          <el-menu-item index="/center">
            <span slot="title">内容管理</span>
            <i class="el-icon-position"></i>
          </el-menu-item>
        </el-menu>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "PersonSide"
}
</script>

<style scoped>
.el-menu-item {
  font-size: 16px;
}

.el-menu-item.is-active {
  background-color: #f0f0f5 !important
}


</style>